package com.cos.openapi.services;

import com.cos.openapi.entity.Customer;
import com.cos.openapi.pojo.JsonResult;
import com.cos.openapi.pojo.TableResult;
import org.springframework.web.bind.annotation.RequestParam;

public interface CustomerServices {

    TableResult getCustomerByNameAndState(Integer page,Integer limit, String name, Integer state);

    JsonResult update(Customer customer);

    JsonResult add(Customer customer);

    JsonResult del(Integer[] ids);
}